package com.xunlai.infra.permission.storage.repository;

import com.xunlai.infra.permission.storage.entity.AuthGroupCrew;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author liang
 * @date 12/21/22 2:08 PM
 */
@Transactional(rollbackFor = Exception.class,readOnly = true)
public interface AuthGroupCrewRepository extends BaseAllRoundRepository<AuthGroupCrew,Long> {

    List<AuthGroupCrew> findAllByCrewIdAndCrewTypeAndTenantId(Long crewId,Short crewType,Long tenantId);
}
